package com.svconnect.exceptions;

public class ConnectionException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private Exception innerException;
	
	public ConnectionException() {
		super("Connection exception\nPlease see inner exception for details.");
	}
	
	public ConnectionException(Exception innerException) {
		super("Connection exception\nPlease see inner exception for details.");
		this.innerException = innerException;
	}

	public Exception getInnerException() {
		return innerException;
	}

	public void setInnerException(Exception innerException) {
		this.innerException = innerException;
	}
}
